<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:c="http://www.w3.org/1999/XSL/Transform">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="StyleSheet" href="../css/jpetstore.css" type="text/css" media="screen"/>
</head>
<body>
    <div th:replace="common/top">
    </div>

    <div id="Content">
        <div id="Catalog">
            <h2 th:text="${order.orderid}">OrderID</h2>

            <form th:action="@{/order/editConfirm}" method="post" th:object="${order}">
                <input type="text" th:field="*{orderid}" hidden="hidden">
                <table>
                    <tr>
                        <td>UserID: </td>
                        <td><input type="text" th:field="*{userid}"></td>
                    </tr>
                    <tr>
                        <td>OrderDate: </td>
                        <td><input type="text" th:field="*{orderdate}"></td>
                    </tr>
                    <tr>
                        <td>ShipAddress1: </td>
                        <td><input type="text" th:field="*{shipaddr1}"></td>
                    </tr>
                    <tr>
                        <td>ShipAddress2: </td>
                        <td><input type="text" th:field="*{shipaddr2}"></td>
                    </tr>
                    <tr>
                        <td>ShipCity: </td>
                        <td><input type="text" th:field="*{shipcity}"></td>
                    </tr>
                    <tr>
                        <td>ShipState: </td>
                        <td><input type="text" th:field="*{shipstate}"></td>
                    </tr>
                    <tr>
                        <td>ShipZip: </td>
                        <td><input type="text" th:field="*{shipzip}"></td>
                    </tr>
                    <tr>
                        <td>ShipCountry: </td>
                        <td><input type="text" th:field="*{shipcountry}"></td>
                    </tr>
                    <tr>
                        <td>BillAddress1: </td>
                        <td><input type="text" th:field="*{billaddr1}"></td>
                    </tr>
                    <tr>
                        <td>BillAddress2: </td>
                        <td><input type="text" th:field="*{billaddr2}"></td>
                    </tr>
                    <tr>
                        <td>BillCity: </td>
                        <td><input type="text" th:field="*{billcity}"></td>
                    </tr>
                    <tr>
                        <td>BillState: </td>
                        <td><input type="text" th:field="*{billstate}"></td>
                    </tr>
                    <tr>
                        <td>BillZip: </td>
                        <td><input type="text" th:field="*{billzip}"></td>
                    </tr>
                    <tr>
                        <td>BillCountry: </td>
                        <td><input type="text" th:field="*{billcountry}"></td>
                    </tr>
                    <tr>
                        <td>Courier: </td>
                        <td><input type="text" th:field="*{courier}"></td>
                    </tr>
                    <tr>
                        <td>Total Price: </td>
                        <td><input type="text" th:field="*{totalprice}"></td>
                    </tr>
                    <tr>
                        <td>BillToFirstName: </td>
                        <td><input type="text" th:field="*{billtofirstname}"></td>
                    </tr>
                    <tr>
                        <td>BillToLastName: </td>
                        <td><input type="text" th:field="*{billtolastname}"></td>
                    </tr>
                    <tr>
                        <td>ShipToFirstName: </td>
                        <td><input type="text" th:field="*{shiptofirstname}"></td>
                    </tr>
                    <tr>
                        <td>ShipToLastName: </td>
                        <td><input type="text" th:field="*{shiptolastname}"></td>
                    </tr>
                    <tr>
                        <td>Credit Card: </td>
                        <td><input type="text" th:field="*{creditcard}"></td>
                    </tr>
                    <tr>
                        <td>ExprDate: </td>
                        <td><input type="text" th:field="*{exprdate}"></td>
                    </tr>
                    <tr>
                        <td>CardType: </td>
                        <td><input type="text" th:field="*{cardtype}"></td>
                    </tr>
                    <tr>
                        <td>Locale: </td>
                        <td><input type="text" th:field="*{locale}"></td>
                    </tr>
                </table>

                <a class="Button" href="/order/all" th:text="放弃更改">abandon</a>
                <input type="submit" th:value="确认修改">
            </form>
        </div>
        
        
        
    </div>

    <div th:replace="common/bottom">
    </div>
</body>
</html>